﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HFK.DxFluentUI.VerticalGrid;
using HFK.DxFluentUITest.Dummy.DataObjects;

namespace HFK.DxFluentUITest.Dummy
{
  public class VerticalGridWithCategoryRows : VerticalGridControlBase<SimpleClass>
  {
    public VerticalGridWithCategoryRows()
    {
      AddCategory("Category1");
      AddCategory("Category2",
        c =>
        {
          c.AddCategory("Category21",
            c21 =>
            {
              c21.AddRow("Category21Row1");
            });
          c.AddRow("Category2Row1");
        });
    }
  }
}
